package com.hkts.beltweigher.config.httpclient;

import lombok.Data;

/**
 * @ClassNameMsgCache
 * @Description
 * @Author yck
 * @Date16/3/2023 下午3:38
 * @Version V1.0
 **/
@Data
public class MsgCache {

    public static final Integer OPEN=1;

    public static final Integer OFF=0;
    //1是通，0是断开
    private Integer type;
    //时间戳
    private long timeStamp;

    public MsgCache(Integer type, long timeStamp) {
        this.type = type;
        this.timeStamp = timeStamp;
    }
}
